<template>
  <ac-tree
    v-model="modelValue"
    data-url="/system/dictionary/queryTree"
    :leafSelect="false"
    @change="handleChange"
  />
</template>

<script setup>
const modelValue = defineModel();
const emit = defineEmits(['change']);

const handleChange = () => {
  emit('change');
};
</script>